import os
import sys

DIR_PATH = os.path.dirname(os.path.dirname(__file__))
# print(DIR_PATH)  # 获取项目根目录
# 将根目录加入系统的的路径列表中去;


sys.path.append(DIR_PATH)
FILE_PATH = {
    'extract': os.path.join(DIR_PATH, 'extract.yaml'),
    'ini': os.path.join(DIR_PATH, 'configs', 'config.ini'),
    'log': os.path.join(DIR_PATH, 'logs')
}

# 钉钉机器人签名和地址
secret = 'SEC292954614e0518fe76f98c848eb2e3a9fde5aca5702f215a23b8ce098b738b28'
webhook = 'https://oapi.dingtalk.com/robot/send?access_token=a6c82deb56358572920a3aa56460b9cf850f4accb9aa2574edb0c65680bb010c'
# 是否发送钉钉群消息，默认False不发送
is_dd_msg = False
